package com.ruoyi.house_sale.service;

import java.util.List;
import com.ruoyi.house_sale.domain.Housemodel;
import com.ruoyi.house_sale.domain.Termtypeinfo;

/**
 * 户型资料Service接口
 * 
 * @author ruoyi
 * @date 2022-03-29
 */
public interface IHousemodelService 
{
    /**
     * 查询户型资料
     * 
     * @param modelid 户型资料主键
     * @return 户型资料
     */
    public Housemodel selectHousemodelByModelid(Long modelid);

    /**
     * 查询户型资料列表
     * 
     * @param housemodel 户型资料
     * @return 户型资料集合
     */
    public List<Housemodel> selectHousemodelList(Housemodel housemodel);

    /**
     * 新增户型资料
     * 
     * @param housemodel 户型资料
     * @return 结果
     */
    public int insertHousemodel(Housemodel housemodel);

    /**
     * 修改户型资料
     * 
     * @param housemodel 户型资料
     * @return 结果
     */
    public int updateHousemodel(Housemodel housemodel);

    /**
     * 批量删除户型资料
     * 
     * @param modelids 需要删除的户型资料主键集合
     * @return 结果
     */
    public int deleteHousemodelByModelids(Long[] modelids);

    /**
     * 删除户型资料信息
     * 
     * @param modelid 户型资料主键
     * @return 结果
     */
    public int deleteHousemodelByModelid(Long modelid);

    public List<Housemodel> findAllHouseModel();

}
